

export default function reducer(state={}, action) {
  switch (action.type) {
    case 0:
      return {...state,login:false};
    case 1:
      return {...state,login:true};
    default:
      return state;
  }
}


